home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / 4_0 / LIFER__ / PROTO / RM_P_LIF.R next >
Text File  |  1991-07-23  |  7KB  |  313 lines

  1. *********************************************************
  2. *
  3. * RMaker resource file sources.
  4. * File: RM_P_Life.R
  5. * History: 7/23/91 Original by Prototyper  3.0
  6. * This file contains the sources for all the resources except for Pictures, plugins. 
  7. *
  8. *********************************************************
  9. *
  10. *
  11.  
  12. * Name and type for the output file (This is appended to the existing file) :
  13. !Life.╣.RSRC
  14.  
  15. * Include Prototyper Resource data file
  16. INCLUDE P_Life.RSRC
  17.  
  18. * Include the user Resource data file
  19. INCLUDE U_Life.RSRC
  20.  
  21. *
  22. *
  23. *
  24. ***********************************************************
  25. ***********************************************************
  26. ***********************************************************
  27. *
  28. * This is the definition for the ALERT,  Life Alert
  29. *
  30.  
  31. Type ALRT
  32. *
  33.  
  34.     ,258                    ;;Resource ID
  35. 207  129  336  381         ;;Top Left Bottom Right
  36. 258                        ;;ID of item list
  37. 4444                      ;;stages of alert in hexadecimal
  38.  
  39. *
  40. *
  41. *
  42. * This is the item list.
  43. *
  44. Type DITL
  45. *
  46.  
  47.     ,258                    ;;Resource ID
  48. 2                           ;;Number of controls in list
  49.  
  50. Button  Enabled           ;;Push button
  51. 90  170  110  230      ;;Top Left Bottom Right
  52. ReEnter                    ;;message
  53.  
  54. staticText  Disabled         ;;Static text
  55. 20  60  70  230         ;;Top Left Bottom Right
  56. Input values must be for\0DX: 1 to 10\0DY: 1 to 5;;message
  57.  
  58.  
  59.  
  60.  
  61. *
  62. Type STR#
  63. *
  64.  
  65. Alert_message   ,281      ;;Resource ID for Static text
  66. 1                           ;;Number of strings
  67. Input values must be for
  68. X: 1 to 10
  69. Y: 1 to 5;;The string
  70.  
  71. *
  72. ***********************************************************
  73. ***********************************************************
  74. ***********************************************************
  75. *
  76. * This is the definition for the DIALOG,  LIFE INPUT
  77. *
  78.  
  79. Type DLOG
  80. *
  81.  
  82.     ,257                    ;;Resource ID
  83. LIFE INPUT                ;;Dialog title
  84. 70  105  182  400      ;;Top Left Bottom Right
  85. Invisible NoGoAway     ;;Invisible GoAway 
  86. 1                           ;;ProcID, dialog def ID
  87. 257                        ;;Refcon, reference value
  88. 257                        ;;ID of item list
  89.  
  90. *
  91. *
  92. *
  93. * This is the item list.
  94. *
  95. Type DITL
  96. *
  97.  
  98.     ,257                    ;;Resource ID
  99. 9                           ;;Number of controls in list
  100.  
  101. Button  Enabled           ;;Push button
  102. 80  100  100  160      ;;Top Left Bottom Right
  103. NEXT                       ;;message
  104.  
  105. Button  Enabled           ;;Push button
  106. 80  20  100  80         ;;Top Left Bottom Right
  107. Cancel                     ;;message
  108.  
  109. Button  Enabled           ;;Push button
  110. 80  180  100  240      ;;Top Left Bottom Right
  111. OK                         ;;message
  112.  
  113. staticText  Disabled         ;;Static text
  114. 40  10  56  30           ;;Top Left Bottom Right
  115. X:                          ;;message
  116.  
  117. staticText  Disabled         ;;Static text
  118. 40  90  56  110         ;;Top Left Bottom Right
  119. Y:                          ;;message
  120.  
  121. staticText  Disabled         ;;Static text
  122. 40  180  56  230        ;;Top Left Bottom Right
  123. Cell #:                     ;;message
  124.  
  125. staticText  Disabled         ;;Static text
  126. 40  230  55  260        ;;Top Left Bottom Right
  127. 1                           ;;message
  128.  
  129. editText  Enabled         ;;Edit text
  130. 43  33  57  57           ;;Top Left Bottom Right
  131. 1\0D                      ;;message
  132.  
  133. editText  Enabled         ;;Edit text
  134. 43  113  57  137        ;;Top Left Bottom Right
  135. 1\0D                      ;;message
  136.  
  137.  
  138.  
  139.  
  140. *
  141. Type STR#
  142. *
  143.  
  144. Static_Text6   ,269         ;;Resource ID for Static text
  145. 1                           ;;Number of strings
  146. Enter x,y coords for a live cell on a 5 x 10 grid;;The string
  147.  
  148. Static_Text_X   ,271       ;;Resource ID for Static text
  149. 1                           ;;Number of strings
  150. X:                          ;;The string
  151.  
  152. Static_Text_Y   ,274       ;;Resource ID for Static text
  153. 1                           ;;Number of strings
  154. Y:                          ;;The string
  155.  
  156. Static_Text_Cel   ,277         ;;Resource ID for Static text
  157. 1                           ;;Number of strings
  158. Cell #:                     ;;The string
  159.  
  160. Static_Text_Cel2   ,278       ;;Resource ID for Static text
  161. 1                           ;;Number of strings
  162. 1                           ;;The string
  163.  
  164.  
  165. *
  166. Type STR#
  167. *
  168.  
  169. Edit_Text_X   ,273     ;;Resource ID for default edit text
  170. 1                           ;;Number of strings
  171. 1
  172.                            ;;The string
  173.  
  174. Edit_Text_Y   ,275     ;;Resource ID for default edit text
  175. 1                           ;;Number of strings
  176. 1
  177.                            ;;The string
  178.  
  179. *
  180. ***********************************************************
  181. ***********************************************************
  182. ***********************************************************
  183. *
  184. * This is the definition for the DIALOG,  LIFE WINDOW
  185. *
  186.  
  187. Type DLOG
  188. *
  189.  
  190.     ,256                    ;;Resource ID
  191. LIFE WINDOW             ;;Dialog title
  192. 70  105  210  278      ;;Top Left Bottom Right
  193. Invisible GoAway        ;;Invisible GoAway 
  194. 4                           ;;ProcID, dialog def ID
  195. 256                        ;;Refcon, reference value
  196. 256                        ;;ID of item list
  197.  
  198. *
  199. *
  200. *
  201. * This is the item list.
  202. *
  203. Type DITL
  204. *
  205.  
  206.     ,256                    ;;Resource ID
  207. 7                           ;;Number of controls in list
  208.  
  209. Button  Enabled           ;;Push button
  210. 110  20  130  80        ;;Top Left Bottom Right
  211. Continue                   ;;message
  212.  
  213. Button  Enabled           ;;Push button
  214. 110  100  130  160         ;;Top Left Bottom Right
  215. Quit                        ;;message
  216.  
  217. staticText  Disabled         ;;Static text
  218. 40  50  55  130         ;;Top Left Bottom Right
  219. ----------                ;;message
  220.  
  221. staticText  Disabled         ;;Static text
  222. 70  50  85  130         ;;Top Left Bottom Right
  223. ----------                ;;message
  224.  
  225. staticText  Disabled         ;;Static text
  226. 50  50  65  130         ;;Top Left Bottom Right
  227. ----------                ;;message
  228.  
  229. staticText  Disabled         ;;Static text
  230. 60  50  75  130         ;;Top Left Bottom Right
  231. ----------                ;;message
  232.  
  233. staticText  Disabled         ;;Static text
  234. 30  50  45  130         ;;Top Left Bottom Right
  235. ----------                ;;message
  236.  
  237.  
  238.  
  239.  
  240. *
  241. Type STR#
  242. *
  243.  
  244. Static_Text   ,261      ;;Resource ID for Static text
  245. 1                           ;;Number of strings
  246. ----------                ;;The string
  247.  
  248. Static_Text2   ,262         ;;Resource ID for Static text
  249. 1                           ;;Number of strings
  250. ----------                ;;The string
  251.  
  252. Static_Text3   ,263         ;;Resource ID for Static text
  253. 1                           ;;Number of strings
  254. ----------                ;;The string
  255.  
  256. Static_Text4   ,264         ;;Resource ID for Static text
  257. 1                           ;;Number of strings
  258. ----------                ;;The string
  259.  
  260. Static_Text5   ,265         ;;Resource ID for Static text
  261. 1                           ;;Number of strings
  262. ----------                ;;The string
  263.  
  264.  
  265. *
  266. ***********************************************************
  267. ***********************************************************
  268. ***********************************************************
  269. *
  270. * This is the definition for the MENU.
  271. *
  272. Type MENU
  273. *
  274.  
  275. *************** Standard Menus follow *********************
  276. *
  277.  
  278.  
  279.     ,256                                                                      ;;Resource ID
  280. \14                                                                            ;;APPLE menu title
  281. About ...                                                                       ;;item title
  282. (-                                                                              ;;
  283.  
  284.     File,257                                                                    ;;Resource ID
  285. File                                                                             ;;menu title
  286. New/N                                                                         ;;item title
  287. Open.../O                                                                     ;;item title
  288. (-                                                                              ;;
  289. Close                                                                          ;;item title
  290. Save/S                                                                        ;;item title
  291. Save As...                                                                     ;;item title
  292. Revert to Saved                                                             ;;item title
  293. (-                                                                              ;;
  294. Page Setup...                                                                 ;;item title
  295. Print...                                                                         ;;item title
  296. (-                                                                              ;;
  297. Quit/Q                                                                         ;;item title
  298.  
  299.     Edit,258                                                                   ;;Resource ID
  300. Edit                                                                             ;;menu title
  301. Undo/Z                                                                         ;;item title
  302. (-                                                                              ;;
  303. Cut/X                                                                         ;;item title
  304. Copy/C                                                                        ;;item title
  305. Paste/V                                                                       ;;item title
  306. Clear                                                                          ;;item title
  307. Select All                                                                     ;;item title
  308. (-                                                                              ;;
  309. Show Clipboard                                                              ;;item title
  310.  
  311.  
  312.  
  313.